package com.czp.ssm.dao;

import com.czp.ssm.bean.Opera;
import com.czp.ssm.bean.OperaExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface OperaMapper {
    long countByExample(OperaExample example);

    int deleteByExample(OperaExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Opera record);

    int insertSelective(Opera record);

    List<Opera> selectByExample(OperaExample example);

    Opera selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Opera record, @Param("example") OperaExample example);

    int updateByExample(@Param("record") Opera record, @Param("example") OperaExample example);

    int updateByPrimaryKeySelective(Opera record);

    int updateByPrimaryKey(Opera record);

    Opera selectOperaPersonIdByCompanyIdAndUserId(Map<String, String> map);

	List<Opera> selectOperaByOperaPersonId(String operaPersonId);
}